@import '~antd/lib/style/themes/default.less';

@nav-header-height: @layout-header-height;

.logo {
  position    : relative;
  height      : @nav-header-height;
  padding-left: (@menu-collapsed-width - 32px) / 2;
  overflow    : hidden;
  line-height : @nav-header-height;
  background  : #002140;
  transition  : all 0.3s;

  img {
    display       : inline-block;
    height        : 32px;
    vertical-align: middle;
  }

  h1 {
    display       : inline-block;
    margin        : 0 0 0 12px;
    color         : white;
    font-weight   : 600;
    font-size     : 20px;
    font-family   : Avenir, 'Helvetica Neue', Arial, Helvetica, sans-serif;
    vertical-align: middle;
  }
}

.sider {
  position  : relative;
  z-index   : 10;
  min-height: 100vh;
  box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);

  &.light {
    background-color: white;
    box-shadow      : 2px 0 8px 0 rgba(29, 35, 41, 0.05);

    .logo {
      background: white;
      box-shadow: 1px 1px 0 0 @border-color-split;

      h1 {
        color: @primary-color;
      }
    }

    :global(.ant-menu-light) {
      border-right-color: transparent;
    }
  }
}